<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="../packages/reactivity/dist/reactivity.global.js"></script>
<script type="module">

    let {reactive,
        shallowReactive,
        readonly,
        shallowReadonly} = VueReactivetiy

    class Student {
        _name = "张三"

        get name() {
            return this._name;
        }

        set name(value) {
            this._name = value;
        }
    }



    let state = shallowReactive({name:"张三", list: {a:200}});
    state.list.a = 100
    console.log(state.list.a );

</script>
</body>
</html>